package top.tangyh.lamp.care.vo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 导管观察记录表
 * </p>
 *
 * @author
 * @since 2021-11-16
 */
@Data
@Schema(description = "YxPipeObsvRecordVO对象 导管观察记录VO表")
public class PipeLatestObsvRecordDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键",example = "1")
    private Long id;

    @Schema(description = "导管使用记录id",example = "1")
    private Long recordId;

    @Schema(description ="病人健康号")
    private String patientIdent;

    @Schema(description ="观察人")
    private String obsvUserId;

    @Schema(description ="观察人姓名")
    private String obsvUserName;

    @Schema(description ="json数据")
    private String jsonData;

    /**
     * 创建人
     */
    @Schema(description = "创建人id")
    private Long createdBy;
    /**
     *
     */
    @Schema(description = "修改人id")
    private String updatedBy;
    /**
     *
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdTime;
    /**
     *
     */
    @Schema(description = "修改时间")
    private LocalDateTime updatedTime;

    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Schema(description ="观察时间")
    private LocalDateTime obsvTime;

    @Schema(description ="置入长度")
    private Double insertLength;

    @Schema(description ="外露长度")
    private Double exposedLenth;

    @Schema(description ="部位情况")
    private String locationsName;

    @Schema(description ="部位情况字典code")
    private String locationsCode;

    @Schema(description ="湿化器类型")
    private String humidifierType;

    @Schema(description ="管道护理情况")
    private String pipeCareName;

    @Schema(description ="管道护理情况字典code")
    private String pipeCareCode;

    @Schema(description ="是否感染0否 1 是")
    private Integer isInfect;

    @Schema(description ="备注")
    private String remark;

    @Schema(description = "管道名称")
    private String ppName;

    @Schema(description  ="管道型号名称")
    private String ppTypeName;
}
